﻿/*
SINACOR - BMF&Bovespa
Arquivo: FiltroBloqueioValido.cs
Criado em: 08-jun-2010 17:14:33
Arquiteto Responsável: p-wgeneroso
*/
using System;
using System.Collections.Generic;
using System.Text;
using Sinacor.Infra.Common.Validation;
using Sinacor.Infra.Common.Exceptions;
using Sinacor.Infra.Service.ExceptionHandling;
using Sinacor.Infra.Service.Validation;
using Sinacor.Infra.Service.Validation.BusinessRules;


namespace Sinacor.Servico.Bovespa.ManutencaoOrdens.BusinessLogic.BusinessRulesValidation 
{
	public class FiltroBloqueioValido : BaseBusinessRuleValidation<BusinessEntity.Parameter.FiltroBloqueioChave>, IBusinessRuleValidation 
	{
		#region Métodos
		public List<ValidationError> GetErrors()
		{
            return this.ErrorsList;
		}

		public void Validate()
		{
			//Validação RuleSet
            SinacorValidation validation = new SinacorValidation();
            validation.Validate<BusinessEntity.Parameter.FiltroBloqueioChave>(this.EntityToValidate);
		}
		#endregion
	}

}